{
SinOsc.ar(
	MouseX.kr(110,880,0,1)
	,MouseY.kr(0,1,0,1)
	) 
}.play;

{Pan2.ar(Gendy1.ar(0, 0, SinOsc.kr(0.1, 0, 0.1, 0.9),1.0, 50,1000, 1,0.005, 12, 12, 0.2), 0.0)}.play

{
SinOsc.perform('ar',freq:random(1))
,phase:0,mul:0.5)
}.play


{ arg a = Array.geom(4, 100, 3); a * 4 }.value 

1

Saw.kr(100,0.05).scope(1,1);
saw.
{ RLPF.ar(, XLine.kr(8000,400,5), 0.05) }.play;

{ arg freq = Array.geom(4, 100, 3); Mix(SinOsc.ar(freq, 0, 0.1)) }.play;

{ LFPar.ar(LFPar.kr(LFPar.kr(0.2,0,8,10),0, 400,800),0,0.1) }.scope(1, zoom: 4);

{LFPulse.ar(50,0,0.1,1)}.scope(10,zoom:1)

{ Pan2(LFPulse.ar(500 * MouseY.kr, 0, MouseX.kr, 0.2), MouseX.kr) }.play;

{ LFPulse.ar(50) * 0.1 }.scope.play;
{ Blip.ar(100,100,0.2) }.scope(1); // no aliasing
{ Blip.ar(200,1,0.2) }.scope(1);
{ Blip.ar(200,Line.kr(1,100,20),0.2) }.play;

Line.kr(1,100,20)

{ Osc.ar(80, 100, 0, 0.1) }.play;
{ VOsc.ar(MouseX.kr(80,87), 120, 0, 0.3) }.scope(1, zoom:4);

{ LPF.ar(WhiteNoise.ar, MouseX.kr(1e2,2e4,1), 0.2) }.scope(1);
{ LPF.ar(Saw.ar(100), MouseX.kr(1e2,2e4,1), 0.2) }.scope(1);
{ HPF.ar(Saw.ar(100), MouseX.kr(1e2,2e4,1), 0.2) }.scope(1);

{ RLPF.ar( LFClipNoise.ar(MouseX.kr(200, 10000, 1), 0.125), FSinOsc.kr(XLine.kr(0.7, 300, 20), 0, 3600, 4000), 0.2) }.scope(1);

{
	{ LFClipNoise.ar(MouseX.kr(200, 10000, 1), 0.125) }.scope(1) +
	{ Dust2.ar(MouseX.kr(1,10000,1), 0.4) }.scope(1, zoom:4)
}.play

{Saw.kr(4, 0.5)}.scope(1,zoom:4)

(
{ 
var ctl = RLPF.ar(Saw.ar(5, 0.1), MouseX.kr(2, 200, 1), MouseY.kr(0.01, 1, 1));
 SinOsc.ar(ctl * 200 + 400) * 0.2;
}.play;
)

{ 

Pulse.ar(100, 0.3, 0.5),
LFPulse.ar(100, 0, 0.3, 0.5)
] * 0.2
}.scope(bufsize: 44100, zoom: 5)
)
s = Pgbrown(60, 300, 100, 10).asStream.all;

{ Slew.ar(Saw.ar(500, 0.1) + Dust2.ar(100, 0.9),1000,1000) }.scope(1);

{ SinOsc.ar(300, 0, 0.2).abs }.scope(1);

{ SinOsc.ar(300, 0, MouseX.kr(0.1,80,1)).fold2(1) * 0.2 }.scope(1);
{ SinOsc.ar(300, 0, MouseX.kr(0.1,80,1)).wrap2(1) * 0.2 }.scope(1);
{ SinOsc.ar(500, 0, MouseX.kr(0.1,80,1)).distort * 0.2 }.scope(1);
{ SinOsc.ar(300, 0, MouseX.kr(0.1,80,1)).softclip * 0.2 }.scope(1);

{ SinOsc.ar(200, 0, 0.2).scaleneg(MouseX.kr(-1,1)) }.scope(1);

{ Pan2.ar(BrownNoise.ar, SinOsc.kr(0.2), 0.3) }.scope(2);

{ LinPan2.ar(BrownNoise.ar, MouseX.kr(-1,1), 0.3) }.scope(2);
{ LinPan2.ar(BrownNoise.ar, MouseX.kr(-1,1), 0.3) }.scope(2);
{ Pan4.ar(BrownNoise.ar, MouseX.kr(-1,1), MouseY.kr(1,-1), 0.3) }.scope(4);
{ XFade2.ar(BrownNoise.ar, SinOsc.ar(MouseY.kr(60,600)), MouseX.kr(-1,1), 0.3) }.scope(1);


{ PanAz.ar(5, BrownNoise.ar, MouseX.kr(-1,1), 0.3, 2) }.scope(5);

{SinOsc.ar(

		freq: SinOsc.kr(freq: 0.5, mul: 300),
		phase: SinOsc.kr(freq: 1, mul: pi),
		mul: 0.1 + 0.1 * SinOsc.kr(freq: 0.3, mul: 1));
}.play;

(1..10).play

g = {FSinOsc.ar(#[100,200], 0, 0.5)}.plot;
m = {SinOsc.kr(1, 0, 0.5)}.plot;

g.play

Signal.sineFill(10, 1.0/[1, 2, 3, 4, 5, 6]).plot;
1.postln

f.play;
<s>

(
p = Pbind(
\degree, Pseq(#[0, 0, 4, 4, 5, 5, 4], 1),
\dur, Pseq(#[0.5, 0.5, 0.5, 0.5, 0.5, 0.5, 1], 1)
).play;
)

f={FSinOsc.ar(800, 0.0, 0.2)};
g={BrownNoise.ar(0.2)};
{f(g)}.play; 


{ 10.rand }!50

{
// rotation of stereo sound via mouse 
var x, y;
x = SinOsc.ar(300); // left in
y = WhiteNoise.ar; // right in
#x, y = Rotate2.ar(x, y, MouseX.kr(0,2));
[x,y]
}.scope(2);

{Dust.ar(1)}.scope
{Klank.ar(100,1)}.scope

{
// play with the room size
var x;
x = Klank.ar(`[[200, 671, 1153, 1723], nil, [1, 1, 1, 1]], Dust.ar(2, 0.1));
x = Pan2.ar(x, -0.2);
x = [x[0], DelayC.ar(x[1], 0.01, 0.01)]; // de-correlate
FreeVerb.ar(x, 0.75, 0.9, 0.4);
}.scope;

{f=MouseX.kr(0,200); 
k=Pulse.ar(f);

{f=MouseX.kr(1,50); 
k=Pulse.ar(f,0.5).scope(1);
f=[440,620];
a=[1,1];
m=[1,0.5];
p=[f,a,m];
Klank.ar(`p,k)
}.scope(1);


{	var freqs, ringtimes;
	freqs = [800, 1071, 1153, 1723] * MouseX.kr(0.5, 2, 1);
	ringtimes = [1, 1, 1, 1] * MouseY.kr(0.1, 10, 1);
	DynKlank.ar(`[freqs, nil, ringtimes ], Impulse.ar(2, 0, 0.1))
}.scope(1);


XLine.kr(1,10,10).asStream

{Dust.ar(10)}.scope(1)

XLine.kr(20000, 2, 10).asStra

(
SynthDef("help-Dust", { arg out=0;
	Out.ar(out, 
		Dust.ar(XLine.kr(20000, 2, 10), 0.5)
	)
}).play;
)

{
var melodies = (
lowMelody: Pseries(4, Prand(#[-2, -1, 1, 2], inf), inf).fold(-7, 11),
highMelody: Pseries(14, Prand(#[-3, -2, 2, 3], inf), inf).fold(7, 18)
);

p = Pbind(
\degree, Pnsym1(Pwrand(#[lowMelody, highMelody], [0.7, 0.3], inf), melodies),
\dur, Pwrand(#[0.25, 0.5], #[0.4, 0.6], inf)
).play;
}

a = Pwrand(1.0, 1.1, 100).asStream.nextN(100).plot;




(
var pitches = (0..14), // replace with other pitches you want
move = 0,
window, slider;

window = JSCWindow.new("Mouse Transport", Rect(5, 100, 500, 50));
slider = Slider.new(window, Rect(5, 5, 490, 20))
.action_({ |view|
move = (view.value * 4 - 2).round;
})
.value_(0.5);
window.front;
)

{ AllpassC.ar(WhiteNoise.ar(0.1), 0.01, XLine.kr(0.0001, 0.01, 20), 0.2) }.play;

w=JSCWindow("Test Window").front; // Window is a subclass of ViewRedirect

Server.local.boot

{SinOsc(440).ar}.play

                                      